#ifndef QREMOVEPAGEDIALOG_H
#define QREMOVEPAGEDIALOG_H

#include <QDialog>
#include <QListView>

#include <QPushButton>

namespace Ui {
    class QRemovePageDialog;
}

class QPageModel;

class QRemovePageDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QRemovePageDialog(QWidget *parent = 0);
    ~QRemovePageDialog();

    void    setPageNames(QStringList names);

    QStringList getRemoveNames();

protected slots:
    void clickItem(const QModelIndex &index);
    void removeBtn();
private:
    Ui::QRemovePageDialog *ui;

protected:
    QListView       *m_list;
    QPushButton     *m_button;
    QPageModel      *m_model;
    QStringList     m_removeNames;
};

#endif // QREMOVEPAGEDIALOG_H
